package com.dongdongsongcan.app.test;

import com.dongdongsongcan.app.db.UserDao;
import com.dongdongsongcan.app.model.api.WebServiceApi;
import com.su.dolphin.control.bean.BaseBean;
import com.su.dolphin.control.task.CtrlTask;
import com.su.dolphin.control.task.CtrlTask.IControlWork;
import com.su.dolphin.utils.AssetsUtil;

public class DpTestCase {

    public static void runTest() {
        //testWebServiceApi();
    }

    public static void testWebServiceApi() {
        new CtrlTask().setWork(new IControlWork() {

            @Override
            public BaseBean doWork() {
                WebServiceApi.getCategoryData();
                WebServiceApi.getRecommendAdData();
                WebServiceApi.getLabelData();
                return null;
            }
        }).exec();

    }

    public static void testAssets() {
        AssetsUtil.getAllAssetsList("");
        AssetsUtil.copyFilesFassets("", "/sdcard/");
    }


}
